/**
 * 
 */
package com.weblists.commands;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;



/**
 * @author Stephen Jennings
 *
 */
public class ErrorCommand implements Command {

	/* (non-Javadoc)
	 * @see com.weblists.Command#process()
	 */
	public void process(HttpServletRequest req, HttpServletResponse resp) {
		try {
			resp.sendRedirect("error.jsp");
		} catch (IOException e) {			
			e.printStackTrace();
		}
	}
	
}
